package net.xdclass.service;

import net.xdclass.model.CouponRecordMessage;
import net.xdclass.request.LockCouponRecordRequest;
import net.xdclass.utils.JsonData;
import net.xdclass.vo.CouponRecordVO;

import java.util.Map;

public interface CouponRecordService {
    Map<String, Object> page(int page, int size);

    CouponRecordVO findById(int id);

    JsonData lockCouponRecords(LockCouponRecordRequest recordRequest);

    boolean releaseCouponRecord(CouponRecordMessage couponRecordMessage);
}
